using PhillyCodeCamp.Domain.Validation;

namespace PhillyCodeCamp.DTO
{
    public class TaxDataDTO : SmartDTO
    {
        public TaxDataDTO (
            string date, string state, string totalIncome, bool isBailedOut)
            
        {
            Date = date;
            State = state;
            TotalIncome = totalIncome;
            IsBailedOut = isBailedOut;
        }

        [ValidDate]
        public string Date { get; private set; }
        public string State{ get; private set; }

        [Mandatory]
        public string TotalIncome { get; private set; }
        public bool IsBailedOut { get; private set; }

    }
}